<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>

<a href="javascript:showActivityInfosDialog();" class="easyui-linkbutton" iconCls="icon-search">历史环节信息</a>
	<a href="${ctx }/pages/TszbProcessInfo/processImg.do?tszbProcessInfoId=${model.tszbProcessInfoId}" class="easyui-linkbutton" iconCls="icon-search" target="_blank">流程图（${model.currActNameString}）<c:if test="${model.isReject==1}">【工单已报废】</c:if></a>
	<a href="${ctx }/pages/TszbProcessInfo/toPrintTask.do?tszbProcessInfoId=${model.tszbProcessInfoId}" class="easyui-linkbutton" iconCls="icon-print" target="_blank">打印工单</a>
<a href="${ctx }/pages/TszbProcessInfo/toExportWordTask.do?tszbProcessInfoId=${model.tszbProcessInfoId}" class="easyui-linkbutton" iconCls="icon-save" target="_blank">导出word工单</a>
<c:if test="${model.currSysUserType=='BJ12320' &&model.currActName!='bzcs' }">
<a href="${ctx }/pages/TszbProcessInfo/toViewWorkOrderQcRecord.do?tszbProcessInfoId=${model.tszbProcessInfoId}" class="easyui-linkbutton" iconCls="icon-save" target="_blank">北京12320工单质检记录单</a>
</c:if>
	<div id="activityInfosDialog" resizable="true" class="easyui-dialog" icon="icon-search" style="padding:5px;width:650px;height:500px;overflow:false;" closed="true" modal="true" title="环节信息" >
          <iframe name="rightFrame" width="100%" height="100%" src="${ctx}/pages/ActivityInfo/showActivityInfos.do?tszbProcessInfoId=${model.tszbProcessInfoId}" frameborder="0" scrolling="auto"></iframe>
</div>
<c:if test="${model.workOrderType=='TSXTD' || model.workOrderType=='TSWXCGZD' }">
	<c:set var="TSZB__WORK_ORDER_SORT" value="TSZB__WORK_ORDER_SORT_TSFL"/>
</c:if>
<c:if test="${model.workOrderType=='BYSLD'  }">
	<c:set var="TSZB__WORK_ORDER_SORT" value="TSZB__WORK_ORDER_SORT_BYFL"/>
</c:if>
<c:if test="${model.workOrderType=='JYSLD'  }">
	<c:set var="TSZB__WORK_ORDER_SORT" value="TSZB__WORK_ORDER_SORT_JYFL"/>
</c:if>
<c:if test="${model.workOrderType=='JBSLD'  }">
	<c:set var="TSZB__WORK_ORDER_SORT" value="TSZB__WORK_ORDER_SORT_JBFL"/>
</c:if>
<div id="treeDialog" resizable="true" class="easyui-dialog" icon="icon-search" style="padding:5px;width:620px;height:500px;overflow:false;" closed="true" modal="true" title="请选择..." >
          <iframe id="treeDialogIfr" name="treeDialogIfr" width="100%" height="100%" src="${ctx}/pages/DataDict/tree.do?ddType=${TSZB__WORK_ORDER_SORT}" frameborder="0" scrolling="auto"></iframe>
</div>